<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1"/>
    <meta name="renderer" content="webkit"/>
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <meta http-equiv="Cache-Control" content="no-transform"/>
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <meta http-equiv="Cache-control" content="no-cache">
    <title>登录-菜鸟毕设</title>
    <link rel="shortcut icon" th:href="@{/user/img/favicon.png}"/>
    <link rel="apple-touch-icon" th:href="@{/user/img/apple-touch-icon.png}"/>
    <style>
        .words {
            order: 1;
            font-family: Baskerville, Georgia, "Liberation Serif", "Kaiti SC", STKaiti, "AR PL UKai CN", "AR PL UKai HK", "AR PL UKai TW", "AR PL UKai TW MBE", "AR PL KaitiM GB", KaiTi, KaiTi_GB2312, DFKai-SB, "TW\-Kai", serif;
        }
    </style>
</head>
<body class="text-center">
<form class="form-signin" th:action="@{/login}" method="post">
    <a href="http://www.e0x.top">
        <img class="mb-4" th:src="@{/user/img/logo.png}" alt="" width="90" height="90"></a>
    <h1 class="h3 mb-3 font-weight-normal">登录</h1>

    <input name="username" class="form-control" placeholder="用户名" required="">
    <input type="password" name="password" class="form-control" placeholder="密码" required="">

    <div class="checkbox mb-3">
        <label>
            <input type="checkbox" name="remember" value="remember-me"> 记住密码
        </label>
    </div>

    <button class="btn btn-lg btn-primary btn-block mt-3" type="submit">登 录</button>

    <p class="clearfix">
        <a id="toRegister" href="javascript:;" class="float-right">没有账号？去注册</a>
    </p>

    <p class="mt-5 mb-3 text-muted">© 菜鸟毕设</p>
    <p class="words" style="margin-bottom: 20px; text-align: center;font-size: 22px;font-weight: 600;color: #43c25e;">
        你可以永远相信菜鸟毕设
    <p class="words" style="text-align: right;color: #0a0b0b;">---鲁迅</p>
    </p>
</form>

<link rel="stylesheet" th:href="@{/user/bootstrap/css/bootstrap.min.css}"/>
<link rel="stylesheet" th:href="@{/user/css/login.css}"/>
</body>
<script th:src="@{//cdn.staticfile.org/jquery/2.2.3/jquery.min.js}"></script>
<script>
    $("#toRegister").click(function () {
        window.location.href='/toRegister';
    })
</script>
</html>